package biz

const OK = 200

var (
	// 101xx 系统
	DockerInitError = NewError(10101, "Docker初始化失败")
	ConvertError    = NewError(10102, "转换失败")

	// 102xx 镜像
	ImageGetError            = NewError(10201, "获取镜像失败")
	ImagePullError           = NewError(10202, "拉取镜像失败")
	ImageRemoveError         = NewError(10203, "删除镜像失败")
	ImagePruneError          = NewError(10204, "清理镜像失败")
	ImageSearchError         = NewError(10205, "搜索镜像失败")
	ImageSearchNotFoundError = NewError(10206, "镜像不存在")

	//103xx 容器
	ContainerGetError      = NewError(10300, "获取容器失败")
	ContainerNotFoundError = NewError(10301, "容器不存在")
	ContainerCreateError   = NewError(10301, "创建容器失败")
	ContainerStartError    = NewError(10302, "启动容器失败")
	ContainerStopError     = NewError(10303, "停止容器失败")
	ContainerRestartError  = NewError(10304, "重启容器失败")
	ContainerRemoveError   = NewError(10305, "删除容器失败")
	ContainerPruneError    = NewError(10306, "清理容器失败")
	ContainerLogsError     = NewError(10307, "获取容器日志失败")
	ContainerStatsError    = NewError(10308, "获取容器状态失败")
)
